<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::AbstractCost&lt; LabelT, OutputT &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_abstract_cost.html">AbstractCost</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_abstract_cost-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::AbstractCost&lt; LabelT, OutputT &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__costfunctions.html">Cost functions</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Cost function interface.  
 <a href="classshark_1_1_abstract_cost.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_abstract_cost_8h_source.html">shark/ObjectiveFunctions/AbstractCost.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::AbstractCost&lt; LabelT, OutputT &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_abstract_cost__inherit__graph.png" border="0" usemap="#ashark_1_1_abstract_cost_3_01_label_t_00_01_output_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_abstract_cost_3_01_label_t_00_01_output_t_01_4_inherit__map" id="ashark_1_1_abstract_cost_3_01_label_t_00_01_output_t_01_4_inherit__map">
<area shape="rect" title="Cost function interface." alt="" coords="178,345,316,386"/>
<area shape="rect" href="classshark_1_1_abstract_loss.html" title=" " alt="" coords="379,5,561,46"/>
<area shape="poly" title=" " alt="" coords="249,330,259,270,278,197,293,159,312,121,335,87,362,56,378,44,381,49,366,60,339,90,316,124,298,161,283,199,264,272,254,330"/>
<area shape="rect" href="classshark_1_1_abstract_loss.html" title=" " alt="" coords="370,70,570,126"/>
<area shape="poly" title=" " alt="" coords="255,330,269,286,292,234,322,182,362,136,378,124,381,128,366,140,327,185,296,237,274,288,260,331"/>
<area shape="rect" href="classshark_1_1_abstract_loss.html" title=" " alt="" coords="375,149,565,190"/>
<area shape="poly" title=" " alt="" coords="262,330,302,265,330,230,362,201,384,188,387,193,366,205,333,234,306,268,266,333"/>
<area shape="rect" href="classshark_1_1_abstract_loss.html" title=" " alt="" coords="373,215,566,255"/>
<area shape="poly" title=" " alt="" coords="277,333,316,298,363,266,390,253,392,258,365,271,319,302,280,337"/>
<area shape="rect" href="classshark_1_1_abstract_loss.html" title=" " alt="" coords="376,280,564,321"/>
<area shape="poly" title=" " alt="" coords="330,339,397,319,398,324,332,344"/>
<area shape="rect" href="classshark_1_1_abstract_loss.html" title=" " alt="" coords="385,345,554,386"/>
<area shape="poly" title=" " alt="" coords="332,363,384,363,384,368,332,368"/>
<area shape="rect" href="classshark_1_1_abstract_loss.html" title=" " alt="" coords="401,410,539,466"/>
<area shape="poly" title=" " alt="" coords="327,389,401,413,399,418,325,394"/>
<area shape="rect" href="classshark_1_1_abstract_loss.html" title=" " alt="" coords="364,490,575,546"/>
<area shape="poly" title=" " alt="" coords="277,396,316,437,365,475,386,487,384,492,363,480,313,441,273,400"/>
<area shape="rect" href="classshark_1_1_abstract_loss.html" title="Loss function interface." alt="" coords="401,569,539,610"/>
<area shape="poly" title=" " alt="" coords="263,399,278,436,301,478,330,520,366,556,401,574,399,579,362,560,326,523,296,481,274,438,258,401"/>
<area shape="rect" href="classshark_1_1_negative_a_u_c.html" title="Negative area under the curve." alt="" coords="380,635,559,675"/>
<area shape="poly" title=" " alt="" coords="257,401,270,450,291,509,323,568,343,596,366,620,383,632,380,636,362,624,339,599,318,571,286,511,265,451,252,402"/>
<area shape="rect" href="classshark_1_1_negative_wilcoxon_mann_whitney_statistic.html" title="Negative Wilcoxon&#45;Mann&#45;Whitney statistic." alt="" coords="370,699,569,755"/>
<area shape="poly" title=" " alt="" coords="254,401,264,462,283,537,298,577,316,616,339,653,366,685,380,697,376,701,362,689,335,656,312,619,293,579,278,539,259,463,249,402"/>
<area shape="rect" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name." alt="" coords="5,353,130,379"/>
<area shape="poly" title=" " alt="" coords="145,363,177,363,177,368,145,368"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a3f2ae17818520465f0e73257fd202bac" id="r_a3f2ae17818520465f0e73257fd202bac"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bac">Feature</a> { <a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bacad1e0927ebd68caf428c52cc4cecc084a">HAS_FIRST_DERIVATIVE</a> = 1
, <a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202baca757525584b3fc0a7aa977255fd6d8232">HAS_SECOND_DERIVATIVE</a> = 2
, <a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bacaaa945f1c8fb58952a4dbea1a1ff86231">IS_LOSS_FUNCTION</a> = 4
 }</td></tr>
<tr class="memdesc:a3f2ae17818520465f0e73257fd202bac"><td class="mdescLeft">&#160;</td><td class="mdescRight">list of features a cost function can have  <a href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bac">More...</a><br /></td></tr>
<tr class="separator:a3f2ae17818520465f0e73257fd202bac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad35be71a61620930c1b6c44aecb7c33" id="r_aad35be71a61620930c1b6c44aecb7c33"><td class="memItemLeft" align="right" valign="top">typedef OutputT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#aad35be71a61620930c1b6c44aecb7c33">OutputType</a></td></tr>
<tr class="separator:aad35be71a61620930c1b6c44aecb7c33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0d1c0437931e46d5b6192b214bc6f59" id="r_aa0d1c0437931e46d5b6192b214bc6f59"><td class="memItemLeft" align="right" valign="top">typedef LabelT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#aa0d1c0437931e46d5b6192b214bc6f59">LabelType</a></td></tr>
<tr class="separator:aa0d1c0437931e46d5b6192b214bc6f59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34c29a41e3dc317b2c97a49e2dbe5da4" id="r_a34c29a41e3dc317b2c97a49e2dbe5da4"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aad35be71a61620930c1b6c44aecb7c33">OutputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#a34c29a41e3dc317b2c97a49e2dbe5da4">BatchOutputType</a></td></tr>
<tr class="separator:a34c29a41e3dc317b2c97a49e2dbe5da4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae76592e18c367f68e9456e76acc35c03" id="r_ae76592e18c367f68e9456e76acc35c03"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aa0d1c0437931e46d5b6192b214bc6f59">LabelType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#ae76592e18c367f68e9456e76acc35c03">BatchLabelType</a></td></tr>
<tr class="separator:ae76592e18c367f68e9456e76acc35c03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65e8014268b6aa7215900d43a291eae5" id="r_a65e8014268b6aa7215900d43a291eae5"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bac">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#a65e8014268b6aa7215900d43a291eae5">Features</a></td></tr>
<tr class="separator:a65e8014268b6aa7215900d43a291eae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24a1a53503c39eeeae1d7b3d43fd120f" id="r_a24a1a53503c39eeeae1d7b3d43fd120f"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bac">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#a24a1a53503c39eeeae1d7b3d43fd120f">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a24a1a53503c39eeeae1d7b3d43fd120f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a08169d91360192c906792ffe9a07f14f" id="r_a08169d91360192c906792ffe9a07f14f"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#a08169d91360192c906792ffe9a07f14f">~AbstractCost</a> ()</td></tr>
<tr class="separator:a08169d91360192c906792ffe9a07f14f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade575e40884a417f5afa3e1a67ec9086" id="r_ade575e40884a417f5afa3e1a67ec9086"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_cost.html#a65e8014268b6aa7215900d43a291eae5">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#ade575e40884a417f5afa3e1a67ec9086">features</a> () const</td></tr>
<tr class="separator:ade575e40884a417f5afa3e1a67ec9086"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34f65782895f7d2018970e3f961f19f7" id="r_a34f65782895f7d2018970e3f961f19f7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#a34f65782895f7d2018970e3f961f19f7">updateFeatures</a> ()</td></tr>
<tr class="separator:a34f65782895f7d2018970e3f961f19f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5aef444b7ef11ba6b31c8b2b0a9c24c8" id="r_a5aef444b7ef11ba6b31c8b2b0a9c24c8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#a5aef444b7ef11ba6b31c8b2b0a9c24c8">hasFirstDerivative</a> () const</td></tr>
<tr class="memdesc:a5aef444b7ef11ba6b31c8b2b0a9c24c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns true when the first parameter derivative is implemented  <br /></td></tr>
<tr class="separator:a5aef444b7ef11ba6b31c8b2b0a9c24c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9a59d0fffd49c260995c05820723029" id="r_aa9a59d0fffd49c260995c05820723029"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#aa9a59d0fffd49c260995c05820723029">isLossFunction</a> () const</td></tr>
<tr class="memdesc:aa9a59d0fffd49c260995c05820723029"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns true when the cost function is in fact a loss function  <br /></td></tr>
<tr class="separator:aa9a59d0fffd49c260995c05820723029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab59cf559ad6f04d07752ffdcda155723" id="r_ab59cf559ad6f04d07752ffdcda155723"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#ab59cf559ad6f04d07752ffdcda155723">eval</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aa0d1c0437931e46d5b6192b214bc6f59">LabelType</a> &gt; const &amp;targets, <a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aad35be71a61620930c1b6c44aecb7c33">OutputType</a> &gt; const &amp;predictions) const =0</td></tr>
<tr class="separator:ab59cf559ad6f04d07752ffdcda155723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab299a1d05b8592018de7df84c1928d42" id="r_ab299a1d05b8592018de7df84c1928d42"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#ab299a1d05b8592018de7df84c1928d42">operator()</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aa0d1c0437931e46d5b6192b214bc6f59">LabelType</a> &gt; const &amp;targets, <a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aad35be71a61620930c1b6c44aecb7c33">OutputType</a> &gt; const &amp;predictions) const</td></tr>
<tr class="separator:ab299a1d05b8592018de7df84c1928d42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable" id="r_a9893f99314de30cd472e649c235d0db4"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">name</a> () const</td></tr>
<tr class="memdesc:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of the object  <br /></td></tr>
<tr class="separator:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a97902a8a75733642a4472b463ae9b7dc" id="r_a97902a8a75733642a4472b463ae9b7dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_cost.html#a65e8014268b6aa7215900d43a291eae5">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_cost.html#a97902a8a75733642a4472b463ae9b7dc">m_features</a></td></tr>
<tr class="separator:a97902a8a75733642a4472b463ae9b7dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class LabelT, class OutputT = LabelT&gt;<br />
class shark::AbstractCost&lt; LabelT, OutputT &gt;</div><p>Cost function interface. </p>
<dl class="section user"><dt></dt><dd>In <a class="el" href="classshark_1_1_shark.html" title="Allows for querying compile settings at runtime. Provides the current command line arguments to the r...">Shark</a> a cost function encodes the severity of a deviation of predictions from targets. This concept is more general than that or a loss function, because it does not necessarily amount to (uniformly) averaging a loss function over samples. In general, the loss depends on the true (training) label and the prediction in a not necessarily symmetric way. Also, in the most general case predictions can be in a different format than labels. E.g., the model prediction could be a probability distribution, while the label is a single value.</dd></dl>
<dl class="section user"><dt></dt><dd>The concept of an <a class="el" href="classshark_1_1_abstract_cost.html" title="Cost function interface.">AbstractCost</a> function is different from that encoded by the <a class="el" href="classshark_1_1_error_function.html" title="Objective function for supervised learning.">ErrorFunction</a> class. A cost function compares model predictions to labels. It does not know about the model making the predictions, and thus it can not handle <a class="el" href="classshark_1_1_labeled_data.html" title="Data set for supervised learning.">LabeledData</a> directly. However, it is one of the components necessary to process <a class="el" href="classshark_1_1_labeled_data.html" title="Data set for supervised learning.">LabeledData</a> in an <a class="el" href="classshark_1_1_error_function.html" title="Objective function for supervised learning.">ErrorFunction</a>. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00073">73</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="ae76592e18c367f68e9456e76acc35c03" name="ae76592e18c367f68e9456e76acc35c03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae76592e18c367f68e9456e76acc35c03">&#9670;&#160;</a></span>BatchLabelType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt;<a class="el" href="classshark_1_1_abstract_cost.html#aa0d1c0437931e46d5b6192b214bc6f59">LabelType</a>&gt;::type <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::BatchLabelType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00079">79</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<a id="a34c29a41e3dc317b2c97a49e2dbe5da4" name="a34c29a41e3dc317b2c97a49e2dbe5da4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34c29a41e3dc317b2c97a49e2dbe5da4">&#9670;&#160;</a></span>BatchOutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt;<a class="el" href="classshark_1_1_abstract_cost.html#aad35be71a61620930c1b6c44aecb7c33">OutputType</a>&gt;::type <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::BatchOutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00078">78</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<a id="a24a1a53503c39eeeae1d7b3d43fd120f" name="a24a1a53503c39eeeae1d7b3d43fd120f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24a1a53503c39eeeae1d7b3d43fd120f">&#9670;&#160;</a></span>FeatureNotAvailableException</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt;<a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bac">Feature</a>&gt; <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::FeatureNotAvailableException</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00091">91</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<a id="a65e8014268b6aa7215900d43a291eae5" name="a65e8014268b6aa7215900d43a291eae5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65e8014268b6aa7215900d43a291eae5">&#9670;&#160;</a></span>Features</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt;<a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bac">Feature</a>&gt; <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::Features</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00091">91</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<a id="aa0d1c0437931e46d5b6192b214bc6f59" name="aa0d1c0437931e46d5b6192b214bc6f59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0d1c0437931e46d5b6192b214bc6f59">&#9670;&#160;</a></span>LabelType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef LabelT <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::LabelType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00077">77</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<a id="aad35be71a61620930c1b6c44aecb7c33" name="aad35be71a61620930c1b6c44aecb7c33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad35be71a61620930c1b6c44aecb7c33">&#9670;&#160;</a></span>OutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef OutputT <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::OutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00076">76</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a3f2ae17818520465f0e73257fd202bac" name="a3f2ae17818520465f0e73257fd202bac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f2ae17818520465f0e73257fd202bac">&#9670;&#160;</a></span>Feature</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bac">shark::AbstractCost::Feature</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>list of features a cost function can have </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a3f2ae17818520465f0e73257fd202bacad1e0927ebd68caf428c52cc4cecc084a" name="a3f2ae17818520465f0e73257fd202bacad1e0927ebd68caf428c52cc4cecc084a"></a>HAS_FIRST_DERIVATIVE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a3f2ae17818520465f0e73257fd202baca757525584b3fc0a7aa977255fd6d8232" name="a3f2ae17818520465f0e73257fd202baca757525584b3fc0a7aa977255fd6d8232"></a>HAS_SECOND_DERIVATIVE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a3f2ae17818520465f0e73257fd202bacaaa945f1c8fb58952a4dbea1a1ff86231" name="a3f2ae17818520465f0e73257fd202bacaaa945f1c8fb58952a4dbea1a1ff86231"></a>IS_LOSS_FUNCTION&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00085">85</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a08169d91360192c906792ffe9a07f14f" name="a08169d91360192c906792ffe9a07f14f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08169d91360192c906792ffe9a07f14f">&#9670;&#160;</a></span>~AbstractCost()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::~<a class="el" href="classshark_1_1_abstract_cost.html">AbstractCost</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00081">81</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab59cf559ad6f04d07752ffdcda155723" name="ab59cf559ad6f04d07752ffdcda155723"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab59cf559ad6f04d07752ffdcda155723">&#9670;&#160;</a></span>eval()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual double <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aa0d1c0437931e46d5b6192b214bc6f59">LabelType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>targets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aad35be71a61620930c1b6c44aecb7c33">OutputType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>predictions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Evaluates the cost of predictions, given targets. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">targets</td><td>target values </td></tr>
    <tr><td class="paramname">predictions</td><td>predictions, typically made by a model </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classshark_1_1_negative_a_u_c.html#a969990014ff8964d6e67fcf72318b02b">shark::NegativeAUC&lt; LabelType, OutputType &gt;</a>, <a class="el" href="classshark_1_1_negative_wilcoxon_mann_whitney_statistic.html#ad7be3ba6f121a686e6dcbeb87813599f">shark::NegativeWilcoxonMannWhitneyStatistic&lt; LabelType, OutputType &gt;</a>, <a class="el" href="classshark_1_1_absolute_loss.html#a0d53dd678d58b2cb3a213cdc829937da">shark::AbsoluteLoss&lt; VectorType &gt;</a>, <a class="el" href="classshark_1_1_abstract_loss.html#a0d53dd678d58b2cb3a213cdc829937da">shark::AbstractLoss&lt; LabelT, OutputT &gt;</a>, <a class="el" href="classshark_1_1_squared_loss.html#a0d53dd678d58b2cb3a213cdc829937da">shark::SquaredLoss&lt; OutputType, LabelType &gt;</a>, and <a class="el" href="classshark_1_1_zero_one_loss.html#a0d53dd678d58b2cb3a213cdc829937da">shark::ZeroOneLoss&lt; LabelType, OutputType &gt;</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_cross_validation_error.html#a8c37335d594fe383eeabcae364fa73a9">shark::CrossValidationError&lt; ModelTypeT, LabelTypeT &gt;::eval()</a>, and <a class="el" href="classshark_1_1_abstract_cost.html#ab299a1d05b8592018de7df84c1928d42">shark::AbstractCost&lt; LabelT, OutputT &gt;::operator()()</a>.</p>

</div>
</div>
<a id="ade575e40884a417f5afa3e1a67ec9086" name="ade575e40884a417f5afa3e1a67ec9086"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade575e40884a417f5afa3e1a67ec9086">&#9670;&#160;</a></span>features()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classshark_1_1_abstract_cost.html#a65e8014268b6aa7215900d43a291eae5">Features</a> &amp; <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::features </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00091">91</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<a id="a5aef444b7ef11ba6b31c8b2b0a9c24c8" name="a5aef444b7ef11ba6b31c8b2b0a9c24c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5aef444b7ef11ba6b31c8b2b0a9c24c8">&#9670;&#160;</a></span>hasFirstDerivative()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::hasFirstDerivative </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns true when the first parameter derivative is implemented </p>

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00094">94</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bacad1e0927ebd68caf428c52cc4cecc084a">shark::AbstractCost&lt; LabelT, OutputT &gt;::HAS_FIRST_DERIVATIVE</a>, and <a class="el" href="classshark_1_1_abstract_cost.html#a97902a8a75733642a4472b463ae9b7dc">shark::AbstractCost&lt; LabelT, OutputT &gt;::m_features</a>.</p>

</div>
</div>
<a id="aa9a59d0fffd49c260995c05820723029" name="aa9a59d0fffd49c260995c05820723029"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9a59d0fffd49c260995c05820723029">&#9670;&#160;</a></span>isLossFunction()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::isLossFunction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns true when the cost function is in fact a loss function </p>

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00103">103</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_cost.html#a3f2ae17818520465f0e73257fd202bacaaa945f1c8fb58952a4dbea1a1ff86231">shark::AbstractCost&lt; LabelT, OutputT &gt;::IS_LOSS_FUNCTION</a>, and <a class="el" href="classshark_1_1_abstract_cost.html#a97902a8a75733642a4472b463ae9b7dc">shark::AbstractCost&lt; LabelT, OutputT &gt;::m_features</a>.</p>

</div>
</div>
<a id="ab299a1d05b8592018de7df84c1928d42" name="ab299a1d05b8592018de7df84c1928d42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab299a1d05b8592018de7df84c1928d42">&#9670;&#160;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aa0d1c0437931e46d5b6192b214bc6f59">LabelType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>targets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_cost.html#aad35be71a61620930c1b6c44aecb7c33">OutputType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>predictions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Evaluates the cost of predictions, given targets. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">targets</td><td>Targets of the predictions </td></tr>
    <tr><td class="paramname">predictions</td><td>Predictions to be compared with the targets </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The costs (e.g., error, regret) </dd></dl>

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00116">116</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_cost.html#ab59cf559ad6f04d07752ffdcda155723">shark::AbstractCost&lt; LabelT, OutputT &gt;::eval()</a>.</p>

</div>
</div>
<a id="a34f65782895f7d2018970e3f961f19f7" name="a34f65782895f7d2018970e3f961f19f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34f65782895f7d2018970e3f961f19f7">&#9670;&#160;</a></span>updateFeatures()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::updateFeatures </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00091">91</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a97902a8a75733642a4472b463ae9b7dc" name="a97902a8a75733642a4472b463ae9b7dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97902a8a75733642a4472b463ae9b7dc">&#9670;&#160;</a></span>m_features</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelT , class OutputT  = LabelT&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_abstract_cost.html#a65e8014268b6aa7215900d43a291eae5">Features</a> <a class="el" href="classshark_1_1_abstract_cost.html">shark::AbstractCost</a>&lt; LabelT, OutputT &gt;::m_features</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_cost_8h_source.html#l00091">91</a> of file <a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_loss.html#aae8049c358e6ccfece94d4a978306c4c">shark::AbstractLoss&lt; LabelT, OutputT &gt;::AbstractLoss()</a>, <a class="el" href="classshark_1_1_epsilon_hinge_loss.html#a9d0a81d2b579576e7fd92b7aa5e1ba3f">shark::EpsilonHingeLoss::EpsilonHingeLoss()</a>, <a class="el" href="classshark_1_1_abstract_cost.html#a5aef444b7ef11ba6b31c8b2b0a9c24c8">shark::AbstractCost&lt; LabelT, OutputT &gt;::hasFirstDerivative()</a>, <a class="el" href="classshark_1_1_hinge_loss.html#a5a99404ec85a96a17c890b13d08b3011">shark::HingeLoss::HingeLoss()</a>, <a class="el" href="classshark_1_1_huber_loss.html#a2a42e507982803208e0bc8f48fb94a2b">shark::HuberLoss::HuberLoss()</a>, <a class="el" href="classshark_1_1_abstract_cost.html#aa9a59d0fffd49c260995c05820723029">shark::AbstractCost&lt; LabelT, OutputT &gt;::isLossFunction()</a>, <a class="el" href="classshark_1_1_squared_epsilon_hinge_loss.html#a200a234a76a69808e9ed2fe42355737a">shark::SquaredEpsilonHingeLoss::SquaredEpsilonHingeLoss()</a>, <a class="el" href="classshark_1_1_squared_hinge_loss.html#a9881ffee48a0cb96c693af16c21b7c92">shark::SquaredHingeLoss::SquaredHingeLoss()</a>, <a class="el" href="classshark_1_1_squared_loss.html#a3ff7bf885f6de94578fbc4b835a7c514">shark::SquaredLoss&lt; OutputType, LabelType &gt;::SquaredLoss()</a>, <a class="el" href="classshark_1_1_squared_loss_3_01_output_type_00_01unsigned_01int_01_4.html#accc4fbbfc67fdd4cb367dab783772d2c">shark::SquaredLoss&lt; OutputType, unsigned int &gt;::SquaredLoss()</a>, and <a class="el" href="classshark_1_1_squared_loss_3_01_sequence_00_01_sequence_01_4.html#a8f743edb4396725b93164612b16e73ac">shark::SquaredLoss&lt; Sequence, Sequence &gt;::SquaredLoss()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/ObjectiveFunctions/<a class="el" href="_abstract_cost_8h_source.html">AbstractCost.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
